Wrong field values are showing as row or column headings due to wrong field.

Cause:


The wrong field names were selected in the 'Fields' row or the fields were missing in the query grid.

Solution:


In the Query Design view, use the 'Fields' row of the query grid to add field name or replace existing field name with correct field names.